#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/3/12 11:24
# @Author  : 一Carrycao
# @File    : base_case.py
# @Software: PyCharm

import minium


class BaseCase(minium.MiniTest):
    """
    初始化Minium实例，测试用例基类
    """

    @classmethod
    def setUpClass(cls):
        super(BaseCase, cls).setUpClass()

    @classmethod
    def tearDownClass(cls):
        super(BaseCase, cls).tearDownClass()

    def setUp(self):
        pass

    def tearDown(self):
        self.app.go_home('/pages/smart/main')

        print('执行 tearDown()')
